package cn.edu.tju.fctl.service;

import cn.edu.tju.fctl.entities.Depart;

import java.util.List;

/**
 * Created by liutong on 15/12/27.
 */
public interface IDepartService {
    /**
     * select depart by depart_id
     * @param id
     * @return Depart
     */
    Depart findByID(int id);

    /**
     * select all departs
     * @return List<Depart>
     */

    List<Depart> findAll();
}
